//
// Created by liufenglin on 20-4-18.
//

#ifndef DATA_TRANSFER_STR_H
#define DATA_TRANSFER_STR_H


/**
 * 字符串子串
 * 会改变源字符数组
 * @param str
 * @param from
 * @param to
 * @return
 */
char *substr(char *str,int from,int to);

/**
 * 字符串trim,去除首尾的空格和tab
 * 会改变源字符数组
 * @param str
 * @return
 */
char *strtrim(char *str);


#endif //DATA_TRANSFER_STR_H
